<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
    <head>
    	<title th:text="Login"></title>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta http-equiv="pragma" content="no-cache" />
		<meta http-equiv="Cache-Control" content="no-cache,must-revalidate" />
		<meta http-equiv="expires" content="0" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		
		<link href="dist/css/basic.css" rel="stylesheet" />
		<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
        <link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
        <link href="dist/css/login.css" rel="stylesheet" />
        <link href="dist/imgs/kpmgBlue.ico" media="screen" rel="shortcut icon" type="image/x-icon"/>
        
        <script src="vendor/jquery/jquery.min.js"></script>
	    <script src="vendor/bootstrap/js/bootstrap.min.js"></script>
	    <script th:src="@{dist/js/login.js?v=}+${session.version}"></script>
    </head>
    <body>
        <div class="container">
            <div class="row">
                <div class="col-md-4 col-md-offset-4">
                    <div class="login-panel panel panel-default">
                        <div class="panel-heading" style="text-align:center;background-color:#428bca;color: white">
                            <span style="font-size:20px ;text-align:center">用户登录</span>
                        </div>
                        <div class="panel-body">
                            <form role="form" class="login-form" id="login-form" method="post">
                                <fieldset>
                                    <div class="form-group has-feedback">
                                    	<input class="form-control" placeholder="员工号" name="username" id="form-username" type="text"
                                    		th:value="${username}" autofocus="autofocus" maxlength="40" />
                                        <span class="glyphicon glyphicon-user form-control-feedback"></span>
                                    </div>
                                    <div class="form-group has-feedback">
                                    	<input class=" form-control" placeholder="密码" name="password" id="form-password" type="password"
                                    		 	th:value="${password}" maxlength="80" />
                                        <span class="glyphicon glyphicon-lock  form-control-feedback "></span>
                                        <span id="error_msg" style="color:red;text-align:right"></span>
                                    </div>
                                    <div class="form-group">
                                    	<div class="checkbox">
                                            <label>
                                                <input type="checkbox" id="isRemember" th:checked="${isRemember}" /> 记住密码
                                            </label>
                                        </div>
                                    </div>
                                    <button type="button" class="btn btn-lg btn-primary btn-block" id="login_btn" data-loading-text="Login...">登录</button>
                                </fieldset>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>